package com.aizuda.boot.modules.business.approval.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @Author sangyirong
 * @ClassName HandoverHistory
 * @Version 1.0
 * @Date 2025/7/24 13:59
 */
@Data
public class HandoverHistory {

    @Schema(description = "主键ID")
    private Long id;

    @Schema(description = "审批业务ID")
    private Long approvalId;

    @Schema(description = "审批名称")
    private String approvalName;

    @Schema(description = "被交接人")
    private  Long handoverUser;

    @Schema(description = "交接人")
    private Long heirUser;

    @Schema(description = "内容")
    private String content;

    @Schema(description = "交接理由")
    private String reason;

    @Schema(description = "创建人ID")
    private Long createId;

    @Schema(description = "创建人")
    private String createBy;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "交接状态，0:待交接 1:已交接 2:已拒绝（暂定待完善）")
    private Integer status;
}
